package com.ruoyi.iot.service;

import java.util.List;
import com.ruoyi.iot.domain.FacDeviceBasic;

/**
 * 设备基础Service接口
 *
 * @author rww
 * @date 2024-06-22
 */
public interface IFacDeviceBasicService
{
    /**
     * 查询设备基础
     *
     * @param id 设备基础主键
     * @return 设备基础
     */
    public FacDeviceBasic selectFacDeviceBasicById(Long id);

    /**
     * 查询设备基础列表
     *
     * @param facDeviceBasic 设备基础
     * @return 设备基础集合
     */
    public List<FacDeviceBasic> selectFacDeviceBasicList(FacDeviceBasic facDeviceBasic);

    /**
     * 新增设备基础
     *
     * @param facDeviceBasic 设备基础
     * @return 结果
     */
    public int insertFacDeviceBasic(FacDeviceBasic facDeviceBasic);

    /**
     * 修改设备基础
     *
     * @param facDeviceBasic 设备基础
     * @return 结果
     */
    public int updateFacDeviceBasic(FacDeviceBasic facDeviceBasic);

    /**
     * 批量删除设备基础
     *
     * @param ids 需要删除的设备基础主键集合
     * @return 结果
     */
    public int deleteFacDeviceBasicByIds(Long[] ids);

    /**
     * 删除设备基础信息
     *
     * @param id 设备基础主键
     * @return 结果
     */
    public int deleteFacDeviceBasicById(Long id);

    public List<FacDeviceBasic> getDevicePList(FacDeviceBasic facDeviceBasic);
    public List<FacDeviceBasic>getChildDeviceById(FacDeviceBasic facDeviceBasic);

    public FacDeviceBasic selectNewBxSbInfo();
}
